package admin

import "github.com/google/uuid"

type GetConversationsRequest struct {
	UserID string `query:"user_id" validate:"omitempty,uuid"`
	Page   int    `query:"page" validate:"omitempty,min=1"`
	Limit  int    `query:"limit" validate:"omitempty,min=1,max=100"`
}

type GetConversationsResponse struct {
	Rows       []ConversationRow `json:"rows"`
	Total      int64             `json:"total"`
	Page       int               `json:"page"`
	Limit      int               `json:"limit"`
	TotalPages int64             `json:"total_pages"`
}

type ConversationRow struct {
	ID        uuid.UUID `json:"id"`
	UserID    uuid.UUID `json:"user_id"`
	Title     string    `json:"title"`
	CreatedAt int64     `json:"created_at"`
	UpdatedAt int64     `json:"updated_at"`
}

type GetConversationDetailRequest struct {
	ConversationID string `param:"conversation_id" validate:"required,uuid"`
}
